package test;

import common.Request;
import common.Response;

public class TestReq {
    public static void main(String[] args) {
        Request req=new Request();
        req.setAction("login");
        req.put("username","laowu");
        req.put("userpass","123446");
        //数据载体
        //对象流的方法,只传Request
        Response resp=new Response();
        resp.setSuccess(true);
        //resp.put("novels",....);


    }
}
